Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue #1: GKE cluster using Terraform (first iteration) #4

Merged

Conversation

ThomasCardin
Copy link
Member

@ThomasCardin ThomasCardin commented Dec 22, 2023

This pull request represents the initial iteration of migrating our deployment to Kubernetes.

In this PR, you will find:

  • Deployment of Ingress Nginx
  • Deployment of Cert-Manager
  • Deployment of HashiCorp Vault
  • Deployment of Nachet-Backend
  • Deployment of Nachet-Frontend
  • Deployment of Finesse-Backend
  • Deployment of Finesse-Frontend
  • Deployment of the kube-prometheus stack with grafana

Additionally, it includes a sample application for testing the Ingress.

What you won't find in this PR:

  • A way to manage user access for nachet and finesse
  • Github authentication for Grafana, ArgoCD, Hashicorp Vault
  • CD and a way to preview deployment
  • Instrumentation of application

Issues that will be closed:

@ThomasCardin ThomasCardin linked an issue Dec 22, 2023 that may be closed by this pull request
7 tasks
@ThomasCardin ThomasCardin self-assigned this Dec 22, 2023
@ThomasCardin ThomasCardin marked this pull request as draft December 22, 2023 20:53
@ThomasCardin ThomasCardin requested a review from rngadam January 5, 2024 15:27
@ThomasCardin ThomasCardin changed the title issue #1: GKE cluster using Terraform issue #1: GKE cluster using Terraform (first iteration) Jan 5, 2024
@ThomasCardin
Copy link
Member Author

ThomasCardin commented Jan 5, 2024

Finesse URL: https://finesse.ninebasetwo.xyz/
Nachet backend URL: https://nachet.ninebasetwo.xyz/

@ThomasCardin ThomasCardin marked this pull request as ready for review January 5, 2024 15:44
.gitignore Outdated Show resolved Hide resolved
kubernetes/apps/demo/nginx-deployment.yml Show resolved Hide resolved
kubernetes/apps/finesse/finesse-deployment.yml Outdated Show resolved Hide resolved
kubernetes/apps/finesse/finesse-deployment.yml Outdated Show resolved Hide resolved
kubernetes/apps/nachet/nachet-deployment.yml Outdated Show resolved Hide resolved
kubernetes/system/cert-manager/issuer.yml Show resolved Hide resolved
kubernetes/system/kube-prometheus-stack/namespace.yml Outdated Show resolved Hide resolved
terraform/gcp-kubernetes-cluster/vault.tf Outdated Show resolved Hide resolved
Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously made a number of comments on this PR but I don't see replies or acknowlegement to them. Can you address the comments @ThomasCardin so I can close those conversation threads?

@ThomasCardin
Copy link
Member Author

Previously made a number of comments on this PR but I don't see replies or acknowlegement to them. Can you address the comments @ThomasCardin so I can close those conversation threads?

Done

Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

three conversations open waiting for follow up

kubernetes/apps/finesse/finesse-backend-deployment.yml Outdated Show resolved Hide resolved
terraform/gcp-kubernetes-cluster/vault.tf Show resolved Hide resolved
terraform/gcp-kubernetes-cluster/vault.tf Show resolved Hide resolved
terraform/gcp-kubernetes-cluster/cluster.tf Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll revisit once the changes are implemented

@ThomasCardin
Copy link
Member Author

ThomasCardin commented Feb 5, 2024

I'll revisit once the changes are implemented

@rngadam Do you have time to review. Every requested changes are done

Copy link
Contributor

@SonOfLope SonOfLope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@rngadam rngadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

submitting some additional comments that I had made on monday but forgot to submit!

.mlc_config.json Outdated
@@ -0,0 +1,3 @@
{
"aliveStatusCodes": [999,200,403]
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF newline missing! also same content about 999 as before. I also don't think we should accept 403 (documentations behind authentication)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

kubernetes/apps/demo/nginx-deployment.yml Outdated Show resolved Hide resolved
@ThomasCardin
Copy link
Member Author

Linting error from the kubernetes/system/* will be fixed in another issue

@ThomasCardin ThomasCardin merged commit 4c772aa into main Feb 7, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment